/// ClassName [future_extends]
///
/// Description:
/// Author: 乔
/// Date: 2024/4/28
part of common_lib_plugin;

extension UnwrapFuture<T> on Future<T?> {
  Future<T> unwrap() => then((value) => value != null ? Future<T>.value(value) : Future.any([]));
}
